﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.Collections;
/// <summary>
/// Summary description for Class1
/// </summary>
/// 
public class Person
{
    public int age;
    public string name;

    public Person(int age, string name)
    {
        this.age = age;
        this.name = name;
    }
}
public class Nguoi
{
    public int STT { get; set; }
    public string TieuDE { get; set; }
    public string DV { get; set; }
    public DateTime Date { get; set; }

    public Nguoi(int age, string TieuDE,string dv,DateTime date)
    {
        this.STT = age;
        this.TieuDE = TieuDE;
        this.DV = dv;
        this.Date = date;
    }

    public static List<Nguoi> GetALL()
    {
        List<Person> people = new List<Person>();
 
people.Add(new Person(50, "Fred"));
people.Add(new Person(30, "John"));
people.Add(new Person(26, "Andrew"));
people.Add(new Person(24, "Xavier"));
people.Add(new Person(5, "Mark"));
people.Add(new Person(6, "Cameron"));

        List<Nguoi> list = new List<Nguoi>();
        
          list.Add(new Nguoi(1,"ưewer","rfdgdfdg",DateTime.Now));
            list.Add(new Nguoi(2,"ưewer","rfdgdfdg",DateTime.Now));
              list.Add(new Nguoi(3,"ưewer","rfdgdfdg",DateTime.Now));
              list.Add(new Nguoi(4,"ưewer","rfdgdfdg",DateTime.Now));
              list.Add(new Nguoi(5,"ưewer","rfdgdfdg",DateTime.Now));
              list.Add(new Nguoi(6,"ưewer","rfdgdfdg",DateTime.Now));
        
        return list;
    }
}